#info-col
  .content
    #files
      != render :partial => 'outputs/file_block'
  
    #hidden-cols
      %h3 Hidden columns
      
      %ol
      - current_object.hidden_columns_ary.each do |c|
        %li= c
  
#manip-col
  .content
    #fileinfo
      %form
        #file-header
          %h2 fixation.times
          %select
            %option AFNI stim times
        .output-meta
          %input{:size => 2, :value => 2}
          Runs
          Run column
          %select
            %option run
          Data column
          %select
            %option fix_time_s
          Filter
          %input{:size => 40}
        
        %textarea#preview~ render :file => 'samples/preview1.txt'
    
    #data
      %form#column-editor
        %div
          Name
          %input{:size => 20, :value => 'fix_time_s'}
          Value
          %input{:size => 50, :value => '({ITI.OnsetTime} - {scan_start})/1000'}
      #datagrid-container
      
%script{:type => 'text/javascript'}
  != update_page do |p|
    - p.assign :columns, current_object.visible_columns_ary
    - p.assign :grid_data, current_object.current_exemplar.grid_data.map{|r| r.values}
  Hotrod.build_grid('datagrid-container', columns, grid_data);